package com.example.next_web;

import com.example.next.ui.domain.SettingUIDTO;
import com.example.next_ui_lib.UICommonUtils;

import common.Common;
import common.CommonImpl;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import dominain.AbstractExeDTO;
import dominain.SystemDTO;

public class SettingActivity extends Activity implements OnClickListener {
	//
	private AbstractExeDTO exe = null;
	private transient Common common = null;
	private SettingUIDTO uiDTO = new SettingUIDTO();

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		this.setContentView(R.layout.setting_view);

		super.onCreate(savedInstanceState);
		this.common = new CommonImpl();
		exe = common.getAbstractExeDTO(this);
		SystemDTO sys = common.getSystemDTO(exe);

		uiDTO.setBtn((Button) this.findViewById(R.id.showBtn));

		uiDTO.getBtn().setOnClickListener(this);
	}

	@Override
	protected void onStart() {
		// this.exe.setContext(this);
		super.onStart();
	}

	@Override
	public void onClick(View v) {
		UICommonUtils.showMsg("test", this);

	}

}
